/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.bank.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.modules.bank.entity.TmVisitTaskCustomer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

/**
 * 任务客户视图实体类
 *
 * @author Blade
 * @since 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TmVisitTaskCustomerVO extends TmVisitTaskCustomer {
	private static final long serialVersionUID = 1L;

	/**
	 * 任务名称
	 */
	private String taskName;

	/**
	 * 营销话术
	 */
	private String scriptDesc;


	/**
	 * 客户名称
	 */
	private String customerName;

	/**
	 * 客户电话
	 */
	private String customerTel;

	/**
	 * 客户id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long customerId;

	/**
	 * 通话开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime communicateBegintime;
	/**
	 * 通话结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime communicateEndtime;

	private String communicateTime;

	private String fileName;
	private String filePath;

	private String taskIds;

	//标签
	private String tag;

	private List<Long> custids;

	private Set<String> tag0;
	private Set<String> tag1;
	private Set<String> tag2;

	/**
	 * 拜访时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate visitTimeDate;

	private Integer ageTag;

	private String productTag;

	private Integer levelTag;
}
